<?php

require_once('../include/GeneralTop.php');
require('../include/class/db.php');
require('../include/simpleHeader.php');

$id = "-1";
if (isset($_GET['recordID'])) {
  $id  = $_GET['recordID'];
}
$db = new db;
$sql = sprintf("SELECT * FROM activity WHERE id = %s", GetSQLValueString($id , "int"));
$res = $db->query($sql);
$row = $db->fetch($res);

?>

<link href="../Felix_css.css" rel="stylesheet" type="text/css" />
<body topmargin="0" leftmargin="0">
<table width="777" border="0" align="left" cellpadding="0" cellspacing="0" valign="top">
  <tr>
    <td width="777" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td height="51" valign="top" background="../images/fen_09.gif"><table width="95%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height="16">&nbsp;</td>
            </tr>
          </table>
          <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
              <td width="14"><img src="../images/fen_12.gif" width="7" height="29"></td>
              <td width="405"><span class="font_16px_black_B"><?php echo $row['title']; ?></span></td>
              <td width="15">&nbsp;</td>
              <td width="299" align="right" class="font_12px_gray"><a href="javascript:history.go(-1);" class="gray_12px">[<?php echo TEXT_BACK?>]</a></td>
              </tr>
          </table></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="1" bgcolor="#767676"></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="8"></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top" class="font_12px_gray"><table width="735" border="0" align="center" cellpadding="0" cellspacing="0" class="font_12px_gray">
            <tr>
              <td width="50" height="30" align="left" valign="middle"><strong><?php echo TEXT_ACTIVITY_DATE?>：</strong></td>
              <td width="200" align="left"><?php echo $row['date']; ?></td>
            </tr>
            <tr>
              <td height="30" align="left" valign="middle"><strong><?php echo TEXT_CONTENT?>：</strong></td>
              <td>&nbsp;</td>
            </tr>
            <tr>
              <td colspan="6"><br><?php echo $row['content']; ?><br></td>
            </tr>
            <tr>
              <td><br><br></td>
            </tr>
            <tr>
	          <td><input type="button" id="button" onclick="javascript:history.go(-1);" value="<?php echo TEXT_BACK?>"></td>
	        </tr>
          </table>
          <p>&nbsp;</p></td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr>
          <td height="8"></td>
        </tr>
      </table></td>
  </tr>
</table>
</body>

